<template>
  <h1>我是Helloworld子组件</h1>
  <h2>{{ props.counter }}</h2>
  <Chart id="confiwds" :config="renderChartSelf" />
</template>

<script lang="ts" setup>
import { defineProps, ref } from 'vue'
import Chart from './echarts.vue'
import { echartsConfig } from '../echartsConfig/basicLineChart'
const props = defineProps({
  counter: Number,
})
const renderChartSelf = ref(echartsConfig)
</script>

<style scoped></style>
